<?php 
 
$db = "w4111b.cs.columbia.edu:1521/adb"; 
 
//$conn = oci_connect("scott", "tiger", $db); 
$conn = oci_connect("gip2103","rdVICpH", $db);
 
//$stmt = oci_parse($conn, "select user from dual"); 
$stmt = oci_parse($conn, "select FName from Candidate where cuid='gip2103'"); 
 
oci_execute($stmt, OCI_DEFAULT); 
 
while ($res = oci_fetch_row($stmt)) 
{ 
   echo "User Name: ". $res[0] ; 
} 
 
oci_close($conn); 
 
?> 